from aredis import StrictRedis
import motor.motor_tornado


# 协程mysql

class ConnectionsDB:
    def __init__(self):
        # host可多台服务器部署
        self.host = ''
        self.user = ''
        self.password = ''

        # redis
        self.port_redis = ''
        self.key_blacklist = ''
        self.key_db = ''

        # mongodb
        self.port_mongodb = ''
        self.dbs = ''

        # mysql
        self.port_mysql = ''
        self.database = ''

    def conn_redis(self):
        pass

    def conn_mongodb(self):
        pass

    def conn_mysql(self):
        pass
